﻿@model WebGuiMVC.BllLessonService.BeLesson

@{
    ViewBag.Title = "NewLesson";
    if(TempData["alertMessage"] != null) {
        <script type="text/javascript">
            alert("@TempData["alertMessage"]");
        </script>    
    }
}

<h2>NewLesson</h2>

@using(@Html.BeginForm("NewLesson", "Admin", FormMethod.Post, new { autocomplete = "off" })) { 
    
    @Html.Partial("_AdminPartialView")
    
    <input type="submit" value="NewLesson" class="button" />  
}